////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                                            //
//                                                         WNProject                                                          //
//                                                                                                                            //
//            This file is distributed under the BSD 2-Clause open source license. See License.txt for details.               //
//                                                                                                                            //
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#include "WNNetworking/inc/WNNetworkFactory.h"
#include "WNMemory/inc/WNAllocation.h"

#ifdef _WN_WINDOWS
    #include "WNNetworking/inc/WNNetworkManagerWindows.h"
#elif defined _WN_LINUX
    #include "WNNetworking/inc/WNNetworkManagerLinux.h"
#endif


WNNetworking::WNNetworkManager* WNNetworking::WNNetworkFactory::CreateNetworkManager() {
    #ifdef _WN_WINDOWS
        return(WN_NEW(WNNetworking::WNNetworkManagerWindows()));
    #elif defined _WN_LINUX
        return(WN_NEW(WNNetworking::WNNetworkManagerLinux()));
    #endif
}
